class SeckillTime < ApplicationRecord
  validates :name, presence: true, uniqueness: true, numericality: { only_integer: true, greater_than_or_equal_to: 0, less_than_or_equal_to: 24,  }
end
